package cn.iocoder.yudao.module.train.controller.admin.coursestudentregistform.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 班级学生新增/修改 Request VO")
@Data
public class CourseStudentRegistFormSaveReqVO {

    @Schema(description = "课程学生报名表ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18565")
    private Integer id;

    @Schema(description = "学生ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23990")
    @NotNull(message = "学生ID不能为空")
    private Long studentId;

    @Schema(description = "课程ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1240")
    @NotNull(message = "课程ID不能为空")
    private Long classesId;

    @Schema(description = "授课时长")
    private Integer duration;

    @Schema(description = "剩余授课时长")
    private Integer restDuration;

}
